Skip to content

fix(deps): update dependencies - #22

Open
tannevaled wants to merge 1 commit into
mainfrom
renovate/deps
Open

tannevaled wants to merge 1 commit into
mainfrom
renovate/deps

Conversation

@tannevaled

@tannevaled tannevaled commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/go-gfx/gfx v0.41.0 → v0.41.2 age confidence
github.com/go-opentype/opentype v0.22.0 → v0.25.0 age confidence
github.com/go-widgets/painter v0.17.1 → v0.18.0 age confidence

Release Notes

go-gfx/gfx (github.com/go-gfx/gfx)

v0.41.2

Compare Source

What's Changed

Full Changelog: go-gfx/gfx@v0.41.1...v0.41.2

v0.41.1

Compare Source

What's Changed

Full Changelog: go-gfx/gfx@v0.41.0...v0.41.1

go-opentype/opentype (github.com/go-opentype/opentype)

v0.25.0

Compare Source

The work of outlining a glyph is now observable, so a caller can bound a whole font deterministically (#​81).

  • Face.GlyphCost(gid) (cost int, err error), and Face.GlyphOutlineCost / Face.GlyphSVGPathCost, which return the outline and its cost from one interpretation.
  • Units: charstring operators executed for CFF, CFF2 and Type 1 (subroutines and seac components included); points the glyph expands to for glyf. Units are not comparable across kinds.
  • ErrOutlineBudget: every per-glyph budget refusal now matches it with errors.Is; messages are unchanged.
  • Scale, measured: STIX Two Math's busiest glyph costs 1,267 operators and all 6,760 glyphs 166,885.

Nothing is stored on Font or Face; outlines are byte-identical to the previous main on 317,864 glyphs of 227 fonts.

v0.24.0

Compare Source

What's Changed

Full Changelog: go-opentype/opentype@v0.23.0...v0.24.0

v0.23.0

Compare Source

A font may now be untrusted input: nothing it declares is allocated before it is checked (#​75).

Parse (#​78)

  • Every count that sizes an allocation (cmap 2/4/6/8/10/12/13/14, CFF2 INDEX, GSUB/GPOS lookups and subtables, layout lists, MATH kern/variants/assembly, gvar, HVAR/VVAR/MVAR, fvar) is checked against the bytes present, by division, so it cannot overflow on 32-bit builds.
  • A sub-table that many offsets point at is decoded once.
  • Coverage and ClassDef tables are binary-searched in the font's bytes, as HarfBuzz does, instead of being expanded glyph by glyph. Answers are identical, including for unsorted or overlapping tables ("later record wins").
  • A per-Parse budget of 1 MiB plus 64 bytes per input byte backs these up.
  • A GPOS PairPos format 2 subtable whose two value formats are both 0 parses with no class grid instead of being refused.

Per glyph (#​77)

  • A composite TrueType glyph may expand to at most 65,535 points, counted before anything is built.
  • A CFF, CFF2 or Type 1 charstring may execute at most 131,072 operators, subroutines included, and emit at most 65,536 points; seac components share one budget.
  • A simple glyph whose endPtsOfContours decreases is refused instead of panicking (found by the new FuzzGlyphContours).

Behaviour change

Fonts past any of these bounds are now refused with an error. Measured on several hundred real fonts, the largest stay 8.8 to 103 times below them, and outlines, shaping, kerning and MATH answers are unchanged on every font measured.

Also: testdata/** -text, so Windows checkouts no longer rewrite committed fuzz seeds.

go-widgets/painter (github.com/go-widgets/painter)

v0.18.0

Compare Source

What's Changed

Full Changelog: go-widgets/painter@v0.17.1...v0.18.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@tannevaled tannevaled changed the title fix(deps): update module github.com/go-opentype/opentype to v0.25.0 fix(deps): update dependencies Nov 24, 2026
@tannevaled

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/go-simd/floats v0.26.0 -> v0.34.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant